package com.ruoyi.fztz.fykmgl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 费用科目管理对象 fztz_fykm
 *
 * @author huacai
 * @date 2024-11-19
 */
public class Fykm extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 费用科目ID */
    private Integer fykmId;

    /** 父ID */
    @Excel(name = "父ID")
    private Integer fId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String kmName;

    /** 科目序号 */
    @Excel(name = "科目序号")
    private String xh;

    /** 排序 */
    private Integer px;

    public Integer getPx() {
        return px;
    }

    public void setPx(Integer px) {
        this.px = px;
    }

    public void setFykmId(Integer fykmId)
    {
        this.fykmId = fykmId;
    }

    public Integer getFykmId()
    {
        return fykmId;
    }
    public void setfId(Integer fId)
    {
        this.fId = fId;
    }

    public Integer getfId()
    {
        return fId;
    }
    public void setKmName(String kmName)
    {
        this.kmName = kmName;
    }

    public String getKmName()
    {
        return kmName;
    }
    public void setXh(String xh)
    {
        this.xh = xh;
    }

    public String getXh()
    {
        return xh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fykmId", getFykmId())
            .append("fId", getfId())
            .append("kmName", getKmName())
            .append("xh", getXh())
            .append("px", getPx())
            .toString();
    }
}
